package cn.itsource.basic.annotation;


import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

/**
* @author: maizi
* @Description:防止重复请求的注解
* @Date:  2022/2/25  13:40
* @Modified: By:
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Repeat {
    /**
     * Alias for {@link #name}.
     */
    @AliasFor("name")
    int value() default 1;

    /**
     * The name of the request parameter to bind to.
     *
     * @since 4.2
     */
    @AliasFor("value")
    int name() default 1;



}